#include <stdio.h>
int main(void)
{
	double score[3] = { 0 };
	int num, i;
	double sum ,average;
	sum = 0;
	do
	{
		printf("Please input sum people number\n");
		scanf_s("%d", &num);
	} while (num < 1 || num>3);
		for (i = 0; i < num;i++)
		{
			scanf_s("%lf", &score[i]);
			sum += score[i];
         }
		average = sum / num;
		printf("the average scores is %lf", average);




}